<%@ page pageEncoding="UTF-8"%>
<%@ include file="/common/validate.jsp"%>
<%
    String cardNo = input.getDesc("cardNo","320222193703042061");//身份证号或者就诊卡号
    String patientName = input.getDesc("patientName","薛银娣");
    Integer type = input.getInt("type",1);
    HashMap<String, String> map2 = new HashMap<String, String>();

    map2.put("cardNumber", cardNo);
    map2.put("patientName", patientName);
    String url = "http://192.168.1.250:8080/physical_check/list.jsp";
    if(type == 2){
        map2.put("cardNo", cardNo);
        url= "http://192.168.1.250:8080/physical_check/listByCardNo.jsp";
    }
    String json = HttpUtil.post(url,map2);

    Tools.encryptPrint(out,json);

%>
